package com.common.account.controller;

import com.common.account.service.IAuUserService;
import lombok.AllArgsConstructor;
import org.springframework.boot.autoconfigure.security.SecurityProperties;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.SessionAttributes;

/**
 * 系统定了
 *
 * @author wangguochao
 */
@Controller
@AllArgsConstructor
@SessionAttributes({"authorizationRequest"})
public class ApplicationController {
    private final SecurityProperties securityProperties;
    private final IAuUserService iAuUserService;

    /**
     * 登录方法
     *
     * @return 模型页面
     */
    @RequestMapping("/login")
    public String login() {
        return "login";
    }

}
